package com.example.certificate.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.certificate.dto.BasePageDTO;
import com.example.certificate.entity.OrderFrom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hao
 * @since 2022-03-10 14:03:12
 */
@Mapper
public interface OrderFromMapper extends BaseMapper<OrderFrom> {

    List<OrderFrom> selOrderPage(Page<OrderFrom> page, @Param("model")BasePageDTO model, @Param("userId") String userId);
}
